﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200014B RID: 331
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BOMJDHMAAJM : IMessage<BOMJDHMAAJM>, IMessage, IEquatable<BOMJDHMAAJM>, IDeepCloneable<BOMJDHMAAJM>, IBufferMessage
	{
		// Token: 0x1700047C RID: 1148
		// (get) Token: 0x06000F28 RID: 3880 RVA: 0x0002CD6D File Offset: 0x0002AF6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BOMJDHMAAJM> Parser
		{
			get
			{
				return BOMJDHMAAJM._parser;
			}
		}

		// Token: 0x1700047D RID: 1149
		// (get) Token: 0x06000F29 RID: 3881 RVA: 0x0002CD74 File Offset: 0x0002AF74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BOMJDHMAAJMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700047E RID: 1150
		// (get) Token: 0x06000F2A RID: 3882 RVA: 0x0002CD86 File Offset: 0x0002AF86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BOMJDHMAAJM.Descriptor;
			}
		}

		// Token: 0x06000F2B RID: 3883 RVA: 0x0002CD8D File Offset: 0x0002AF8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BOMJDHMAAJM()
		{
		}

		// Token: 0x06000F2C RID: 3884 RVA: 0x0002CDA0 File Offset: 0x0002AFA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BOMJDHMAAJM(BOMJDHMAAJM other) : this()
		{
			this.passengerId_ = other.passengerId_;
			this.kLBCINEMHBD_ = other.kLBCINEMHBD_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000F2D RID: 3885 RVA: 0x0002CDD6 File Offset: 0x0002AFD6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BOMJDHMAAJM Clone()
		{
			return new BOMJDHMAAJM(this);
		}

		// Token: 0x1700047F RID: 1151
		// (get) Token: 0x06000F2E RID: 3886 RVA: 0x0002CDDE File Offset: 0x0002AFDE
		// (set) Token: 0x06000F2F RID: 3887 RVA: 0x0002CDE6 File Offset: 0x0002AFE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PassengerId
		{
			get
			{
				return this.passengerId_;
			}
			set
			{
				this.passengerId_ = value;
			}
		}

		// Token: 0x17000480 RID: 1152
		// (get) Token: 0x06000F30 RID: 3888 RVA: 0x0002CDEF File Offset: 0x0002AFEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<KBFEOIAJLJC> KLBCINEMHBD
		{
			get
			{
				return this.kLBCINEMHBD_;
			}
		}

		// Token: 0x06000F31 RID: 3889 RVA: 0x0002CDF7 File Offset: 0x0002AFF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BOMJDHMAAJM);
		}

		// Token: 0x06000F32 RID: 3890 RVA: 0x0002CE08 File Offset: 0x0002B008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BOMJDHMAAJM other)
		{
			return other != null && (other == this || (this.PassengerId == other.PassengerId && this.kLBCINEMHBD_.Equals(other.kLBCINEMHBD_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000F33 RID: 3891 RVA: 0x0002CE58 File Offset: 0x0002B058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PassengerId != 0U)
			{
				num ^= this.PassengerId.GetHashCode();
			}
			num ^= this.kLBCINEMHBD_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000F34 RID: 3892 RVA: 0x0002CEA5 File Offset: 0x0002B0A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000F35 RID: 3893 RVA: 0x0002CEAD File Offset: 0x0002B0AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000F36 RID: 3894 RVA: 0x0002CEB8 File Offset: 0x0002B0B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.kLBCINEMHBD_.WriteTo(ref output, BOMJDHMAAJM._repeated_kLBCINEMHBD_codec);
			if (this.PassengerId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.PassengerId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000F37 RID: 3895 RVA: 0x0002CF08 File Offset: 0x0002B108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PassengerId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PassengerId);
			}
			num += this.kLBCINEMHBD_.CalculateSize(BOMJDHMAAJM._repeated_kLBCINEMHBD_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000F38 RID: 3896 RVA: 0x0002CF5C File Offset: 0x0002B15C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BOMJDHMAAJM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PassengerId != 0U)
			{
				this.PassengerId = other.PassengerId;
			}
			this.kLBCINEMHBD_.Add(other.kLBCINEMHBD_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000F39 RID: 3897 RVA: 0x0002CFA9 File Offset: 0x0002B1A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000F3A RID: 3898 RVA: 0x0002CFB4 File Offset: 0x0002B1B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PassengerId = input.ReadUInt32();
					}
				}
				else
				{
					this.kLBCINEMHBD_.AddEntriesFrom(ref input, BOMJDHMAAJM._repeated_kLBCINEMHBD_codec);
				}
			}
		}

		// Token: 0x04000668 RID: 1640
		private static readonly MessageParser<BOMJDHMAAJM> _parser = new MessageParser<BOMJDHMAAJM>(() => new BOMJDHMAAJM());

		// Token: 0x04000669 RID: 1641
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400066A RID: 1642
		public const int PassengerIdFieldNumber = 12;

		// Token: 0x0400066B RID: 1643
		private uint passengerId_;

		// Token: 0x0400066C RID: 1644
		public const int KLBCINEMHBDFieldNumber = 4;

		// Token: 0x0400066D RID: 1645
		private static readonly FieldCodec<KBFEOIAJLJC> _repeated_kLBCINEMHBD_codec = FieldCodec.ForMessage<KBFEOIAJLJC>(34U, KBFEOIAJLJC.Parser);

		// Token: 0x0400066E RID: 1646
		private readonly RepeatedField<KBFEOIAJLJC> kLBCINEMHBD_ = new RepeatedField<KBFEOIAJLJC>();
	}
}
